package com.pk.platform.business.privilege.service;

import java.util.List;
import java.util.Map;

import com.pk.platform.business.privilege.vo.UserVO;
import com.pk.platform.domain.privilege.User;
import com.pk.platform.util.page.ListPage;
import com.pk.platform.util.page.Pager;

public interface IUserService {
	
	public User login(String id, String password);
	
	public boolean addUser(User user, String[] roleIds);
	
	public void delUsers(String[] userIds);
	
	public void updateUser(User user);
	
	public List<Map<String, Object>> queryUser(UserVO uvo, Pager pager);

	public User queryUserById(String id);
	
	public void useUsersOrNot(String[] userIds, String useType);
	
	public void updatePasswordByUserId(String userId, String password);
	
	public String queryUserRoleIdString(String userId);
	
	public void assignRole(String userId, String[] roleIds);
	
}
